package cn.bellychang.ood.srp.bad;

import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;

/**
 * @author ChangLiang
 * @date 2020/5/12
 */
public class AppTest {

    @Test
    @DisplayName("test main process")
    public void test(){
        // Course A

        // Course B pre-required Course A

        // Student A want to attend Course B and Course B not full

        Student studentA = new Student();

        CourseOffering courseOffering = new CourseOffering();

        CourseService courseService = new CourseService();

        // Student A want to attend Course B and Course B not full
        courseService.chooseCourse(studentA,courseOffering);
    }
}